import { defineStore } from "pinia";

export default defineStore("user", {
  state: () => ({
    // 是否显示侧边栏标题
    cookie: "",
  }),
  actions: {
    // 设置侧边栏标题
    setCookie(cookie: string) {
      this.cookie = cookie;
    },
  },
});
